//
//  BK_Confirm_Order_Goods_Cell_Header.m
//  bestkeep
//
//  Created by TOPTEAM on 2017/2/21.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import "BK_Confirm_Order_Goods_Cell_Header.h"
#import "BK_OD_Color.h"
@implementation BK_Confirm_Order_Goods_Cell_Header
{
    UILabel *_title;
}

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        [self initialize];
    }
    return self;
}

- (void)initialize{
    
    //    self.bottomLine.hidden = YES;
    self.contentView.backgroundColor = [UIColor whiteColor];
    
    _title = [[UILabel alloc] init];
    _title.textColor = kOrderBlack;
    _title.backgroundColor = [UIColor clearColor];
    _title.numberOfLines = 1;
    _title.font = UIFontCustom(15);
    [self.contentView addSubview:_title];
    
    [self makeConstraints];
}

- (void)makeConstraints{
    [_title mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.contentView).offset(ApplicationBackGauge);
        make.centerY.equalTo(self.contentView);
    }];
}

- (void)fillData:(id)data{
    if (data) {
        _title.text = [NSString stringWithFormat:@"%@发货",data];
    }
}

+ (CGFloat)computeHeight:(id)data{
    return 35;
}

@end















